Program Extraction in a Logical Framework Setting
نویسنده
چکیده
This paper demonstrates a method of extracting programs from formal deductions represented in the Edinburgh Logical Framework, using the Elf programming language. Deductive systems are given for the extraction of simple types from formulas of rst-order arithmetic and of-calculus terms from natural deduction proofs. These systems are easily encoded in Elf, yielding an implementation of extraction that corresponds to modiied realizability. Because extraction is itself implemented as a set of formal deductive systems, some of its correctness properties can be partially represented and mechanically checked in the Elf language. Extraction de programmes repr esent ee dans un langage de programmation logique d'ordre sup erieur R esum e : Nous utilisons le langage de programmation Elf pour extraire des programmes a partir des preuves formelles repr esent ees dans le Logical Framework d'Edinburgh. Des types simples sont extraits des formules de l'arithm etique du premier ordre, et des termes du-calcul sont extraits des preuves en d eduction naturelle, en utilisant des syst emes de d eduction que nous d ecrivons. Ces syst emes sont cod es dans le langage Elf, ce qui donne une impl ementation qui correspond a la r ealisa-bilit e modii ee. Gr^ ace a cette impl ementation quelques propri et es de correction de l'extraction peuvent ^ etre cod ees en Elf, et ^ etre partiellement v erii ees automatique-ment.
منابع مشابه
How Are New Vaccines Prioritized in Low-Income Countries? A Case Study of Human Papilloma Virus Vaccine and Pneumococcal Conjugate Vaccine in Uganda
Background To date, research on priority-setting for new vaccines has not adequately explored the influence of the global, national and sub-national levels of decision-making or contextual issues such as political pressure and stakeholder influence and power. Using Kapiriri and Martin’s conceptual framework, this paper evaluates priority setting for new vaccines in Uganda at national and sub-na...
متن کاملThe educational function of Hosseiniyahs in promoting and perpetuating the Shiite lifestyle (Case study: Hosseiniyahs of Kashan)
Many philosophers believe that lifestyle is fundamentally dependent on worldview and ideology. Thus, the emergence of a culture in the social dimension occurs when people's lifestyles are in line with common thinking. Using the concept of guardianship along with Islamic monotheism, the Shiite school offers a practical program for all individual and social aspects of Shiites. In this program, re...
متن کاملOn Automating the Extraction of Programs from Termination Proofs
We investigate an automated program synthesis system that is based on the paradigm of programming by proofs. To automatically extract a λ-term that computes a recursive function given by a set of equations the system must find a formal proof of the totality of the given function. Because of the particular logical framework, usually such approaches make it difficult to use termination techniques...
متن کاملPriority Setting Meets Multiple Streams: A Match to Be Further Examined?; Comment on “Introducing New Priority Setting and Resource Allocation Processes in a Canadian Healthcare Organization: A Case Study Analysis Informed by Multiple Streams Theory”
With demand for health services continuing to grow as populations age and new technologies emerge to meet health needs, healthcare policy-makers are under constant pressure to set priorities, ie, to make choices about the health services that can and cannot be funded within available resources. In a recent paper, Smith et al apply an influential policy studies framework – Kingdon’s multiple str...
متن کاملSTRUCTURAL SYSTEM RELIABILITY-BASED OPTIMIZATION OF TRUSS STRUCTURES USING GENETIC ALGORITHM
Structural reliability theory allows structural engineers to take the random nature of structural parameters into account in the analysis and design of structures. The aim of this research is to develop a logical framework for system reliability analysis of truss structures and simultaneous size and geometry optimization of truss structures subjected to structural system reliability constraint....
متن کامل